package com.mccrea.pattern.strategy;

/**
 * @Classname Kitchen
 * @Description 环境类（厨房）
 * @Date 2021/5/24 0024 15:38
 * @Created by Mccrea_Gao
 */
public class Kitchen {

    private CrabCooking crabCooking;

    public CrabCooking getCrabCooking() {
        return crabCooking;
    }

    public void setCrabCooking(CrabCooking crabCooking) {
        this.crabCooking = crabCooking;
    }

    public void cookingMethod() {
        crabCooking.cookingMethod();
    }
}
